(function() {
    var myApp = angular.module('myApp');

    myApp.constant("myTableOption", {
        dom        : 'ftir',
        processing : true,
        serverSide : true,
        deferRender: true,
        scrollX    : true,
        scrollY    : '100%',
        paging     : true,
        scroller   : true,
        select     : true,
        searchDelay: 1000,
        language   : { url: '../../pub/datatables/zh_cn.json' },
        columns    : [
            { data: 'system_id' },
            { data: 'site_id' 	},
            { data: 'username' 	},
            { data: 'client_ip' },
            { data: 'method' 	},
            { data: 'uri' 	    },
            { data: 'description' 	},
            { data: 'params'    },
            { data: 'result'    },
            { data: 'message'   }
        ]
    });

})();

